package org.dromara.iot.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.iot.domain.IotUpkeepProjectRecord;

/**
 * 电梯保养项目记录业务对象 iot_upkeep_project_record
 *
 * @author lsl
 * @date 2024-06-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = IotUpkeepProjectRecord.class, reverseConvertGenerate = false)
public class IotUpkeepProjectRecordBo extends BaseEntity {

    /**
     * 项目记录ID
     */
    @NotNull(message = "项目记录ID不能为空", groups = {EditGroup.class})
    private Long recordId;

    /**
     * 关联保养ID
     */
    private Long upkeepId;

    /**
     * 保养项名称
     */
    private String projectName;

    /**
     * 保养项要求
     */
    private String projectRequire;

    /**
     * 保养结果（1.已保养，2.未）
     */
    private String upkeepResult;

    /**
     * 保养项类型（1.机房、2.层站、3.轿厢、4.井道）
     */
    private String projectType;

    /**
     * 备注
     */
    private String remark;


}
